package com.wx.mall.common.exception.code;

public enum CarriageTemplateResponseCode implements ResponseCodeInterface {
    DELETE_ERROR(6001, "删除运费模板失败"),
    UPDATE_ERROR(6002, "更新运费模板失败"),
    INSERT_ERROR(6003, "新增运费模板失败"),
    QUERY_ERROR(6004, "查询运费模板失败"),
    UPLOAD_ERROR(6005, "上传品牌logo失败");
    /**
     * 响应码
     */
    private int code;

    /**
     * 提示
     */
    private String msg;

    CarriageTemplateResponseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
